package com.version1.diabeco.data.glucosa;

import java.util.Calendar;
import java.util.Date;
import java.util.List;

import com.version1.diabeco.data.Dao;
import com.version1.diabeco.model.glucosa.Glucosa;
import com.version1.diabeco.model.medicacion.Medicacion;

public interface GlucosaDao extends Dao {

	Long count();

	List<Glucosa> selectAll();

	List<Glucosa> select5Dias();

	Glucosa selectById(Long id);
	
	List<Glucosa> selectBetweenDates(Date from, Date to);

	//Agregar aca el parametro long observaciones
	List<Glucosa> selectBetweenDatesAndValues(Calendar from, Calendar to, Float umbralBajo, Float umbralAlto, long rango, long observaciones);
	
	void save(Glucosa glucosa);

	void deleteById(Long id);

	void clear();

}
